0xGA: Check-in [d78e4b4f93]

Yet another PHP framework, but made for org-mode and geeks.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Forgot to add second to timestamp when creating new document
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d78e4b4f9354a174aa71ae78cf37e42c0282ec91
User & Date: milouse 2013-12-14 00:38:28
Context
2014-02-09
01:23
Major refactoring of orgx shell script check-in: f200ea0fff user: milouse tags: trunk
2013-12-14
00:38
Forgot to add second to timestamp when creating new document check-in: d78e4b4f93 user: milouse tags: trunk
2013-12-13
00:16
Fix bug in feedpress support check-in: 7a1acfceb2 user: milouse tags: trunk
Changes

Changes to usr/bin/orgx.

108
109
110
111
112
113
114
115
116
117
118
119
120
121
122

function post_create_orgx_file {

    DOCTITLE=`sed -n "s/#+title: \?\(.*\)/\1/Ip" $TMPNAME/content.org`
    DOCDATE=`sed -n "/#+date:/I{s/[^0-9]//g;p}" $TMPNAME/content.org`

    if [ `echo $DOCDATE | wc -c` = 9 ]; then
	DOCDATE=$DOCDATE`date +%H:%M`
    fi

    if [ ! -n "$DOCTITLE" ]; then
	QUESTIONMSG="Document has no title. Save anyway?"
	if [ "$GRAPHIC" = 'yes' ]; then
	    if zenity --question --title="orgx editor v$VERSION" \
		--text="$QUESTIONMSG"; then







|







108
109
110
111
112
113
114
115
116
117
118
119
120
121
122

function post_create_orgx_file {

    DOCTITLE=`sed -n "s/#+title: \?\(.*\)/\1/Ip" $TMPNAME/content.org`
    DOCDATE=`sed -n "/#+date:/I{s/[^0-9]//g;p}" $TMPNAME/content.org`

    if [ `echo $DOCDATE | wc -c` = 9 ]; then
	DOCDATE=$DOCDATE`date +%H%M%S`
    fi

    if [ ! -n "$DOCTITLE" ]; then
	QUESTIONMSG="Document has no title. Save anyway?"
	if [ "$GRAPHIC" = 'yes' ]; then
	    if zenity --question --title="orgx editor v$VERSION" \
		--text="$QUESTIONMSG"; then