[geeklog-cvs] Geeklog-1.x/plugins/links/templates/admin categoryeditor.thtml, NONE, 1.1 categorylist.thtml, NONE, 1.1 catitem.thtml, NONE, 1.1 linkeditor.thtml, 1.6, 1.7

Oliver ospiess at qs1489.pair.com
Tue Aug 28 03:33:33 EDT 2007


Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/links/templates/admin
In directory qs1489.pair.com:/tmp/cvs-serv65146/templates/admin

Modified Files:
	linkeditor.thtml 
Added Files:
	categoryeditor.thtml categorylist.thtml catitem.thtml 
Log Message:
install new links plugin with cateogory tree

--- NEW FILE: catitem.thtml ---

    <tr{rowcolor}>
        <td width="20" class="box">{edit_text}</td>
        <td width="20" class="box">{add_text}</td>
        <td class="box" width="200">{indent}{category}</td>
        <td width="50" class="box">{topic_text}</td>
        <td width="20" class="box">{delete_text}</td>
    </tr>


Index: linkeditor.thtml
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/links/templates/admin/linkeditor.thtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** linkeditor.thtml	14 Jan 2007 03:27:35 -0000	1.6
--- linkeditor.thtml	28 Aug 2007 07:33:30 -0000	1.7
***************
*** 1,2 ****
--- 1,17 ----
+ 
+ <div class="admin-list-icon">
+     <img src="http://localhost/dev/public_html/links/images/links.png" alt="">
+ </div>
+ 
+ <a href="{site_admin_url}/plugins/links/index.php">{lang_link_list}</a> |
+ <a href="{site_admin_url}/plugins/links/index.php?mode=edit">{lang_new_link}</a> |
+ <a href="{site_admin_url}/plugins/links/category.php">{lang_list_categories}</a> |
+ <a href="{site_admin_url}/plugins/links/category.php?mode=edit">{lang_new_category}</a> |
+ <a href="{site_admin_url}/moderation.php">{lang_admin_home}</a> 
+ <br>
+ <p>{instructions}</p>
+ 
+ <br clear="both">
+ 
                                  <form action="{site_admin_url}/plugins/links/index.php" method="post">
                                      <table border="0" cellspacing="0" cellpadding="2" width="100%">
***************
*** 26,30 ****
                                                      {category_options}
                                                  </select>
-                                                 {lang_ifotherspecify}: <input type="text" name="category" size="12" maxlength="32" value="{category}">
                                              </td>
                                          </tr>
--- 41,44 ----
***************
*** 77,81 ****
                                          <tr>
                                              <td colspan="2">
!                                                 <input type="submit" value="{lang_save}" name="mode">
                                                  <input type="submit" value="{lang_cancel}" name="mode">
                                                  <input type="hidden" value="{link_id}" name="old_lid">
--- 91,95 ----
                                          <tr>
                                              <td colspan="2">
!                                                 <input type="submit" value="{lang_save}" name="mode"> 
                                                  <input type="submit" value="{lang_cancel}" name="mode">
                                                  <input type="hidden" value="{link_id}" name="old_lid">
***************
*** 85,87 ****
                                      </table>
                                  </form>
!                                 <script language="JavaScript1.2" defer>editor_generate('description');</script>
--- 99,103 ----
                                      </table>
                                  </form>
! <script language="JavaScript1.2" defer>
! editor_generate('description');
! </script>

--- NEW FILE: categoryeditor.thtml ---
<h2>{lang_pagetitle}</h2>
<div class="admin-list-icon">
    <img src="{site_url}/links/images/links.png" alt="">
</div>
<a href="{site_admin_url}/plugins/links/index.php">{lang_link_list}</a> |
<a href="{site_admin_url}/plugins/links/index.php?mode=edit">{lang_new_link}</a> |
<a href="{site_admin_url}/plugins/links/category.php">{lang_list_categories}</a> |
<a href="{site_admin_url}/plugins/links/category.php?mode=edit">{lang_new_category}</a> |
<a href="{site_admin_url}/moderation.php">{lang_admin_home}</a>
<br>
<p>{instructions}</p>
<br clear="both">
    <form action="{site_admin_url}/plugins/links/category.php" method="post">
        <table border="0" cellspacing="0" cellpadding="2" width="100%">
            <tr>
                <td align="right" width="150">{lang_parent}</td>
                <td><select name="pid">{category_options}</select></td>
            </tr>
            <tr>
                <td align="right">{lang_category}</td>
                <td><input type="text" name="category" size="50" maxlength="32" VALUE="{category_value}"></td>
            </tr>
            <tr>
                <td align="right">{lang_cid}</td>
                <td><input type="text" name="cid" size="50" maxlength="32" VALUE="{cid_value}"></td>
            </tr>
            <tr>
                <td align="right">{lang_description}</td>
                <td><input type="text" name="description" size="50" maxlength="255" VALUE="{description_value}"></td>
            </tr>
            <tr>
                <td align="right">{lang_topic}</td>
                <td><select name="tid">{topic_list}</select></td>
            </tr>
            <tr>
                <td colspan="2"><hr><td>
            </tr>
            <tr>
                <td colspan="2"><b>{lang_accessrights}</b></td>
            </tr>
            <tr>
                <td align="right">{lang_owner}:</td>
                <td>{owner_name}<input type="hidden" name="owner_id" value="{cat_ownerid}"></td>
            </tr>
            <tr>
                <td align="right">{lang_group}:</td>
                <td>
                    {group_dropdown}
                </td>
            <tr>
            <tr>
                <td colspan="2"><b>{lang_permissions}</b>:</td>
            </tr>
            <tr>
                <td colspan="2"></td>
            </tr>
            <tr>
                <td colspan="2">{lang_permissionskey}</td>
            </tr>
            <tr>
                <td colspan="2">
                    {permissions_editor}
                </td>
            </tr>
            <tr>
                <td colspan="2">{lang_lockmsg}<td>
            </tr>
            <tr>
                <td colspan="2" align="center"><br><br>
                    <input type="hidden" value="{old_cid_value}" name="old_cid">
                    <input type="submit" value="{lang_save}" name="mode">
                    <input type="submit" value="{lang_cancel}" name="mode">
                    {delete_button}
                </td>
            </tr>
        </table>
    </form>

--- NEW FILE: categorylist.thtml ---
<h2>{lang_pagetitle}</h2>

<div class="admin-list-icon">
    <img src="http://localhost/dev/public_html/links/images/links.png" alt="">
</div>

<a href="{site_admin_url}/plugins/links/index.php">{lang_link_list}</a> |
<a href="{site_admin_url}/plugins/links/index.php?mode=edit">{lang_new_link}</a> |
<a href="{site_admin_url}/plugins/links/category.php">{lang_list_categories}</a> |
<a href="{site_admin_url}/plugins/links/category.php?mode=edit">{lang_new_category}</a> |
<a href="{site_admin_url}/moderation.php">{lang_admin_home}</a>

<br clear="both">

<h3>{lang_sitecategories}</h3>

        <table class="links" width="100%">
            <tr style="background:#FFFFFF;">
                <th class="admin-list-headerfield">{edit_text}</th>
                <th class="admin-list-headerfield">{add_text}</th>
                <th class="admin-list-headerfield" nowrap="nowrap">{lang_category}</th>
                <th class="admin-list-headerfield">{lang_topic}</th>
                <th class="admin-list-headerfield">{delete_text}</th>
            </tr>
            <tr{rowcolor}>
                <td width="20" class="box">-</td>
                <td width="20" class="box"><a href="{site_admin_url}/plugins/links/category.php?mode=edit&pid={root_cid}" title="{add_text}"><img src="{layout_url}/images/addchild.png" alt="{add_text}"></a></td>
                <td class="box" width="200">{lang_root}</td>
                <td class="box"></td>
                <td width="20" class="box"></td>
            </tr>


{sitelist}
        </table>




More information about the geeklog-cvs mailing list